// 提供首页相关接口
import request from "@/utils/request";

// 获取品牌推荐数据
// limit 品牌个数
export const findBrand = (limit = 6) => {
    return request('/home/brand', 'get', { limit })
}

// 获取广告去轮播图
export const findBanner = () =>{
    return request('/home/banner','get')
}

// 新鲜好物
export const findNew = () =>{
    return request('/home/new','get')
}

// 人气推荐
export const findHot = () =>{
    return request('/home/hot','get')
}
// 商品区域
export const findGoods = () =>{
    return request('/home/goods','get')
}
// 最新专题
export const findSpecial = () =>{
    return request('/home/special','get')
}